package ooday02.homework;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog=new Dog("小黄",3,"棕色");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick=new Chick("鸡先锋",1,"花色");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish=new Fish("金龙鱼",2,"红色");
        fish.eat();
        fish.drink();
    }
}
